#include <iostream>
using namespace std;

int main(){
   int a = 10;  //00001010
   int b = 20;  //00010100
   cout << (a & b) << endl;
   cout << (a | b) << endl;
   cout << (~a) << endl;
   cout << (a ^ b) << endl;
   cout << (a >> b) << endl;
}
  
